/* reset */

body, button, dd, div, dl, dt, form, h1, h2, h3, h4, h5, h6, input, li, ol, p, pre, td, textarea, th, ul{margin:0;padding:0;}
body{font-family:Microsoft YaHei,"微软雅黑";}
li {list-style:none}
a{color: #666;}
a,button,input,textarea{outline:none;}
a:hover,a:focus{cursor:pointer;text-decoration: none;color: #666;outline:none;}
/* 浮动 */
.fl,.fr{display:inline;}
.fl{float:left;}
.fr{float:right;}
.pr{position: relative;}
.table{margin-bottom:0; }
.f12{font-size: 12px;}
/*独立应用*/
.tc{text-align: center;}
.tr{text-align: right;}
.ellipsis{overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
.break-word{word-break:break-all; word-wrap:break-word;}
.container-fluid{padding: 0;}
.main-content,.form-group,.main{position: relative;}
/*删除按钮*/
.delete-btn{color:#e00101;}
.delete-btn:hover,.delete-btn:focus{color:#f50606; }
.prompt-text{text-align: center;line-height: 28px;}
/*弹窗样式调整-modal*/
.modal-footer button{padding: 5px 25px;}
.form-control{width: 260px;}
.modal-footer .btn+.btn{margin-left: 14px;}
.checkedBtn{background-color: #f97242;color: #fff;}
.checkedBtn:hover,.checkedBtn:focus{background-color: #e96130;color: #fff;}
.modal-content{margin-top: 125px;}

/* Sidebar*/
/*.navbar-fixed-top {border: 0;}*/
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form,.navbar-inverse{background-color: #eceff1;border-color: #c8cbce;}
.navbar-inverse .navbar-toggle{background-color: #333;}

.nav-sidebar {margin-right: -21px; margin-bottom: 20px;margin-left: -20px;}
.nav>li.nav-parent{margin-bottom: 8px;background-color: #fff;}
.nav-sidebar > .nav-parent > a{padding: 11px 24px 11px 60px;line-height: 26px;border-left: 4px solid #9e9e9e;border-top: 1px solid #e0e0e0;border-bottom: 1px solid #e0e0e0;}
.nav-sidebar > .nav-parent.active > a{border-left: 4px solid #f87242;}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {color: #f87242;background-color: #fff;}
.nav-children{display: none;}
.nav-children li a{border-bottom: 1px solid #e0e0e0;padding: 0;background-color: #fff;padding: 12px 24px 11px 60px;line-height: 26px;}

.nav-parent .iconLeft{position: absolute;left: 22px;top: 18px;font-size: 14px;}
.nav-parent .iconRight{position: absolute;right: 18px;top: 18px;font-size: 12px;}
.nav-children .iconLeft{left: 27px;}
.sidebar .nav-parent.active .fa{color: #f87242;}



/*表格样式修改*/
.table-striped>tbody>tr:nth-child(odd){background-color: #fff;}
.table-striped>tbody>tr:nth-child(even){background-color: #fafafa;}
.table>thead:first-child>tr:first-child>th{border-bottom: 0;}
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td{vertical-align: middle;}
.table thead{background-color: #efefef;}
.table th,.table td{text-align: center;}

/*弹窗样式调整-modal*/
.modal-header{background-color: #f6f6f6;border-color: #c6c6c6;}
.modal-footer{text-align: center;background-color: #eff3f8;}


.sidebar,.login-settings{display: none;}
.navbar-nav{display: block;}
.main-content{margin-top:60px;padding: 0 12px;}
@media (min-width: 768px) {
    .main-content{padding: 0;margin:0; }
	.navbar-nav{display: none;}
    .sidebar {position: fixed;top: 51px;bottom: 0;left: 0;z-index: 1000;display: block;width: 200px;padding: 20px;overflow-x: hidden;overflow-y: auto;background-color: #f2f2f2;border-right: 1px solid #dbdee0;}
    .main{padding:20px 20px 20px 220px;margin-top: 50px;}
    .navbar-header{width: 200px;background-color: #f87242;}
    .navbar-inverse .navbar-brand{color: #fff;float: none;display: block;text-align: center;font-size: 18px;}
    .login-settings{width: 140px;height: 50px;background-color: #999;float: right;position: relative;padding: 6px 10px;display: block;}
    .loginImg{width: 36px;height: 36px;overflow: hidden;border-radius: 36px;background-color: #333;margin-top: 1px;float: left;}
    .loginImg img{width: 100%;height: 100%;overflow: hidden;}
    .loginName{float: left;width: 66px;padding: 0 4px;line-height: 38px;color: #fff;text-align: center;white-space:nowrap; overflow:hidden;text-overflow:ellipsis;}
    .login-settings .fa-caret-down{position: absolute;right: 12px;top: 18px;font-size: 14px;color: #fff;}
    .login-settings-list{background-color: #fff;border:1px solid #bfbfbf;padding: 0 10px;width: 140px;position: absolute;right: 0;top: 55px;display: none;}
    
    .login-settings-list li{border-bottom: 1px solid #bfbfbf;position: relative;}
    .login-settings-list a{display: block;padding: 14px 10px 12px 30px;text-align: center;}
    .login-settings-list .fa{position: absolute;left: 10px;top: 18px;}
    .login-settings-list li:last-child{border-bottom: none;}
    .triangle-up{width: 0;height: 0;border-left: 5px solid transparent;border-right: 5px solid transparent;border-bottom: 5px solid #bfbfbf;position: absolute;right: 20px;top: 50px;display: none}
    .triangle-up-sm{width: 0;height: 0;border-left: 5px solid transparent;border-right: 5px solid transparent;border-bottom: 5px solid #fff;position: absolute;left: -5px;top: 1px;}
    .login-settings.active .login-settings-list,.login-settings.active .triangle-up{display: block;}
}
/* 清除浮动 */
.clearfix:after,.login-settings-info:after{content:''; display:block; clear:both; visibility: hidden; overflow: hidden; font-size:0; height:0}
.clearfix{zoom:1; display: block;} 


